from django.urls import path
from BloodSpiderAPI.apis.account import request

# api/account/
urlpatterns = [
    path('create/', request.create_account, name='create_account'), # 创建账号
    path('assign/', request.assign_account, name='assign_account'), # 分配账号
    path('get_all/', request.get_all_accounts, name='get_all_accounts'), # 查询全部账号
    path('search/', request.search_accounts, name='search_accounts'), # 搜索账号
    path('update/', request.update_account, name='update_account'), # 更新账号信息
    path('register_platform/', request.register_platform, name='register_platform'), # 注册平台
    path('get_registered_platforms/', request.get_registered_platforms, name='get_registered_platforms'), # 获取注册的全部平台
    path('update_platform_real_name/', request.update_platform_real_name, name='update_platform_real_name'), # 更新平台认证状态
    path('update_real_name/', request.update_real_name, name='update_real_name'), # 更新实名
    path('update_platform_status/', request.update_platform_status, name='update_platform_status'), # 更新平台运营状态
]